﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;

namespace 杂项
{
    class Program
    {
        static void Main(string[] args)
        {

            //new Thread(() => { Console.WriteLine("ddds"); }).Start();
            ServiceReference1.Service1Client testWcf = new ServiceReference1.Service1Client();
            string ss = "aaaaaass";
            byte[] b = Encoding.ASCII.GetBytes(ss);
            MemoryStream stream = new MemoryStream(b);
            StreamReader s = new StreamReader(stream);
            
            Console.WriteLine(testWcf.GetData(stream)); 
            Console.ReadLine();
        }
    }
}
